#include "RenzoPrecompiled.h"
#include "RenzoResource.h"

namespace Renzo
{
Resource::Resource(void)
{
}

/*
Resource::Resource(const String& _name)
: name(_name)
{
}
*/

Resource::~Resource(void)
{
}
/*
String Resource::toString() {
	return "";
}*/

void Resource::setID(ResourceID id) {
	this->id = id;
}

ResourceID Resource::getID() const {
	return id;
}

ObjectType Resource::getType() const {
	return ResourceTypeGet(id);
}

const String& Resource::getName() const {
	return name;	
}

/*
ResourceID Resource::createResourceID() {
	return Renzoderer::instance()->getResourceManager()->genResourceID(RESOURCE_TYPE_DEFAULT);
}*/

}
